$(function () {
    $.ajax(
        {
            url:'/back/nav/findInfo',
            type:'get',
            dataType:'json',
            data:{id:sessionStorage.getItem("navId"),
                loginName:sessionStorage.getItem("loginName")},
            success:function (res) {
                if(res.result=="notLogin"){
                    window.open("/html/login.html", "_top");
                }
                let data = res.data;
                $("#href").html(data.href);
                $("#title").html(data.title);

            }
        }

)
})